package com.java.service;

import com.github.pagehelper.PageInfo;
import com.java.model.Advertiser;
import com.java.model.Apply;
import com.java.model.Finance;
import com.java.model.Result;
import org.springframework.ui.Model;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AdvertiserService{

    /** 查询我的订单 **/
    PageInfo<Apply> applyList(Apply apply);
    /** 查询我的订单 **/
    PageInfo<Apply> putList(Apply apply);
    /** 查询我的订单 **/
    PageInfo<Apply> performanceList(Apply apply);
    /*验收成功*/
    Result yes(Apply apply);
    /**
     * 查询广告主列表
     * @param advertiser
     * @return
     */
    PageInfo<Advertiser> list(Advertiser advertiser);

    /**
     * 查看公司详情
     * @param advertiser
     * @return
     */
    Advertiser detail(Advertiser advertiser);

    Advertiser get(int id);

    void remove(int[] ids);


    /**
     * 查询账号钱包信息
     * @param finance
     * @return
     */
    PageInfo<Finance> fList(Finance finance);

    /**
     * 查看公司详情
     * @param advertiser
     * @return
     */
    Advertiser fDetail(Advertiser advertiser);

    List<Advertiser> advertisersCount();



}
